package com.glaway.car.vo;

public class LoginVO {
    private String id;
    private Integer permission;
    private String username;
    private String token; //令牌

    public LoginVO() {}

    public LoginVO(String id, Integer permission, String username, String token) {
        this.id = id;
        this.permission = permission;
        this.username = username;
        this.token = token;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getPermission() {
        return permission;
    }

    public void setPermission(Integer permission) {
        this.permission = permission;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "LoginVO{" +
                "id='" + id + '\'' +
                ", permission=" + permission +
                ", username='" + username + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}
